<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Videos extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		// Create videos table
		Schema::create("videos", function($table)
		{
			// indentifiers
			$table->increments("id");

			// decriptors
			$table->string("title");
			$table->string("slug");
			$table->text("youtube_link");

			// soft deletes
			$table->softDeletes();

			// timestamps
			$table->timestamps();
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop("videos");
	}

}
